/* 导航 */
.nav-container {
  background-color: #333333;
}

.navbar {
  position: relative;
  margin: 0 auto;
  width: 1226px;
  height: 40px;
  line-height: 40px;
  font-size: 12px;
  color: #b0b0b0;
}

.navbar a:hover {
  color: #fff;
}

.navbar-left,
.navbar-right {
  display: inline-block;
}

.navbar-left {
  position: absolute;
  top: 0;
  left: 0;
}

.navbar-right {
  position: absolute;
  top: 0;
  right: 0;
}

.sep {
  margin: 0 0.5em;
  color: #424242;
}

/* 下载app */

.pop-appcode {
  position: relative;
}

.pop-appcode::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 18px;
  width: 0;
  height: 0;
  border: 6px solid;
  border-color: #fff #fff transparent transparent;
  transform: rotate(-45deg);
  opacity: 0;
}

.appcode {
  position: absolute;
  top: 28px;
  margin-left: -80px;
  height: 0;
  width: 124px;
  background-color: #fff;
  box-shadow: 0 1px 5px #aaa;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
  color: #000;
  font-weight: 200;
  overflow: hidden;
  transition: height 0.2s;
  z-index: 99;
}

.appcode>img {
  display: block;
  width: 90px;
  height: 90px;
  margin: 18px auto 12px;
  background-color: #fff;
}

.pop-appcode:hover .appcode {
  height: 150px;
}

.pop-appcode:hover::before {
  opacity: 1;
}

/* 购物车 */
.shopping-cart {
  position: relative;
  display: inline-block;
  margin-left: 20px;
  width: 120px;
  height: 40px;
  background-color: #424242;
  text-align: center;
}

.pop-shopping {
  position: absolute;
  top: 40px;
  right: 0;
  width: 316px;
  height: 0;
  background: #fff;
  box-shadow: 0 4px 5px #aaa;
  color: #000;
  line-height: 98px;
  align-items: center;
  font-weight: 300;
  overflow: hidden;
  transition: height 0.2s;
  z-index: 99;
}

.navbar-right .shopping-cart:hover {
  background-color: #fff;
  color: #ff6700;
}


.shopping-cart:hover .pop-shopping {
  height: 98px;
}